package com.wangsong.test1.controller;
//

import com.wangsong.test1.api.Test1API;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/test1")
public class Test1Controller implements Test1API {

    @RequestMapping(value = "/test", method = RequestMethod.POST)
    @ResponseBody
    public String test(String test) {
        return test;
    }


}
